<script setup>
import ErrorPage from '@/components/errorPage.vue'
import {useInjectState} from '@/store/index'
import resize from '@/hook/use-resize'
const state = useInjectState()
resize()
</script>
<template>
  <a-config-provider :locale="state.locale">
    <router-view/>
  </a-config-provider>
  <error-page></error-page>
</template>

